package com.common.www.config;

import org.aspectj.lang.annotation.Aspect;
import org.springframework.context.annotation.Configuration;

/**
 * 安全配置类
 */
// 切面
@Aspect
@Configuration
public class MyConfig {

//    @Bean
//    public PlatformTransactionManager transactionManager1(EntityManagerFactory entityManagerFactory) {
//        return new JpaTransactionManager(entityManagerFactory);
//
//    }
//
//    @Override
//    public PlatformTransactionManager annotationDrivenTransactionManager() {
//        return new JpaTransactionManager();
//    }


}
